<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div id="tab-detect">
	<div class="init">
		<div id="prompt" class="info">商品与所发布的类目或属性不符，或属性不全将会影响商品排名，重则被扣分或强制下架。为了避免商品信息不完整对商品排名造成负面影响，建议经常检查商品属性。</div>
		<div class="scope">
			<label>范围：</label> <input type="checkbox" value='onsale'
				checked='checked'>出售中</input> <input type="checkbox"
				value='inventory' checked='checked'>库存中</input>
		</div>
		<fieldset name="seller-cids" class='collapse' style='padding:10px;margin:10px 0;'>
			<legend><input type='checkbox'></input>指定类别</legend>
			<div>
				<s:iterator value="categories">
					<div value='<s:property value="cid"/>'
						parent='<s:property value="parentCid"/>'
						style=
						<s:if test="%{parentCid != 0}">
							'margin-left:20px;'
						</s:if>
						<s:else>'margin-left:10px;'</s:else>
						class='category-item'>
						<s:if test="%{parentCid != 0}">└</s:if>
						<input type='checkbox' checked='checked'></input>
						<s:property value="name" />
					</div>
				</s:iterator>
			</div>
		</fieldset>
		<button class="detect-button">开始检查</button>
		<!-- div><a>查看上次安检结果</a></div -->
	</div>

	<div id="toolbar" class="hide">
		<div class="left">
			<s:if test='#session.admin'>
				<div id='data-wrapper'></div>
				<div id='spent'>
					已耗时<span>0</span>秒
				</div>
			</s:if>
			<div id="msg">正在扫描...</div>
			<div id="progressbar"></div>
		</div>
		<div class="left hide">
			<button class="redetect-button">
				<span class="icon-detect"></span>重新检查
			</button>
		</div>
		<div class="clear"></div>
	</div>
	<div id="result"></div>
</div>
<div id="dialog" title="请勿频繁扫描"></div>
<script type="text/javascript" src="js/my.js"></script>
